package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.SetWechatDao;
import com.bootdo.wx.domain.SetWechatDO;
import com.bootdo.wx.service.SetWechatService;



@Service
public class SetWechatServiceImpl implements SetWechatService {
	@Autowired
	private SetWechatDao setWechatDao;
	
	@Override
	public SetWechatDO get(String id){
		return setWechatDao.get(id);
	}
	
	@Override
	public List<SetWechatDO> list(Map<String, Object> map){
		return setWechatDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return setWechatDao.count(map);
	}
	
	@Override
	public int save(SetWechatDO setWechat){
		return setWechatDao.save(setWechat);
	}
	
	@Override
	public int update(SetWechatDO setWechat){
		return setWechatDao.update(setWechat);
	}
	
	@Override
	public int remove(String id){
		return setWechatDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return setWechatDao.batchRemove(ids);
	}
	
}
